/*
 * Copyright (C) 2010-2010 MaoJian Wu
 *
 * Author:
 *	MaoJian Wu
 *
 * Source:
 *	
 *
 * This file is a part of zfspear library.
 *
 *
 */

#ifndef MECHANISM_H
#define MECHANISM_H

#include "xmpp_element.h"

class Mechanism : public XmppElement {
    Q_OBJECT
public:
    enum MechanismType {
        NONE                 = 1,
        EXTERNAL             = 2,
        PLAIN                = 3,
        DIGEST_MD5           = 4,

    };
    Q_INVOKABLE Mechanism();
    QString MechanismType();
    void SetMechanismType(const QString& mechanismType);
signals:

public slots:

};

#endif // MECHANISM_H
